package com.train.streamsend.sources;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.cloud.stream.messaging.Source;
import org.springframework.messaging.MessageChannel;

/**
 * 自定义信道
 * */
public interface Source2 {
    String OUTPUT = "output_2";

    @Output(OUTPUT)
    MessageChannel output_2();
}
